<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
      <style>

          .header{
              width: 300px;
              height: 300px;
              /* border: 1px solid black; */
              margin: 200px auto;
              position: relative;
              transform: rotate(45deg);
              animation: play 2s infinite alternate;  
          }
         .header div{
             width:200px ;
             height: 200px;
             position: absolute;
         }
      .middle{
        right: 0;
        bottom: 0;
        background: #d5093c;
        box-shadow: -2px 0px 1px 0px #d5093c;
      }
      .left{
        left: 0;
        bottom: 0;
        border-radius: 50%;
        background: radial-gradient(circle farthest-side  at left  top,#f10a44 50%,#d5093c);
        z-index: 3;
        box-shadow: -2px 0px 1px 0px #d5093c;
    }
    .right{
        right: 0;
        top: 0;
        border-radius: 50%;
        background: #d5093c;
        box-shadow: -2px 0px 1px 0px #d5093c;
        background: radial-gradient(circle farthest-side  at left  top,#f10a44 50%,#d5093c);
    }
    @keyframes play {
            25% {
                transform: scale(1.2) rotate(45deg)
            }
            50% {
                transform: scale(1.3) rotate(45deg)
            }
            75% {
                transform: scale(1.2) rotate(45deg)
            }
        }
      </style>
</head>
<body>
    <div class="header">
        <div class="middle"></div>
        <div class="left"></div>
        <div class="right"></div>
    </div>
</body>
</html>